package com.angis.fx.data;

import java.util.HashMap;

public class Draft extends HashMap<String, String> {

	/**
	 * 
	 */
	private static final long serialVersionUID = 8753011100191901653L;
	
	private String Id;

	private String csName;
	
	private String csId;
	
	private String inspectType;
	
	private String csType;
	
	private String arrivalTime;
	
	private String endTime;
	
	private String cslb;
	
	@Override
	public String get(Object key) {
		if (key.toString().equals("csname")) {
			return getCsName();
		}
		if (key.toString().equals("cstype")) {
			return getCsType();
		}
		if (key.toString().equals("arrivaltime")) {
			return getArrivalTime();
		}
		if (key.toString().equals("endtime")) {
			return getEndTime();
		}
		if (key.toString().equals("inspecttype")) {
			return getInspectType();
		}
		if (key.toString().equals("cslb")) {
			return getCslb();
		}
		return super.get(key);
	}
	

	public String getCsName() {
		return csName;
	}

	public void setCsName(String csName) {
		this.csName = csName;
	}

	public String getCsId() {
		return csId;
	}

	public void setCsId(String csId) {
		this.csId = csId;
	}

	public String getInspectType() {
		return inspectType;
	}

	public void setInspectType(String inspectType) {
		this.inspectType = inspectType;
	}

	public String getCsType() {
		return csType;
	}

	public void setCsType(String csType) {
		this.csType = csType;
	}

	public String getArrivalTime() {
		return arrivalTime;
	}

	public void setArrivalTime(String arrivalTime) {
		this.arrivalTime = arrivalTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}
	
	public String getCslb() {
		return cslb;
	}


	public void setCslb(String cslb) {
		this.cslb = cslb;
	}


	public static long getSerialversionuid() {
		return serialVersionUID;
	}


	public String getId() {
		return Id;
	}


	public void setId(String id) {
		Id = id;
	}


	
	
	
}
